<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<s:fielderror/>
<form action="upload.action" method="post" enctype="multipart/form-data">
    文件标题:<input type="text" name="title"/> <br>
    选择文件:<input type="file" name="upload"/> <br>
    <input type="submit" value="上传"/>
</form>
</body>
</html>
